package com.flx.dis.registry.zk;

import com.flx.common.plugins.annotion.enable.EnableCross;
import com.flx.common.plugins.annotion.enable.EnableException;
import com.flx.common.plugins.annotion.enable.EnableFlyway;
import com.flx.common.plugins.annotion.enable.EnableSwagger;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Author Fenglixiong
 * @Create 2022/4/19 0:12
 * @Description
 *
 **/
@Slf4j
@EnableCross        //加入跨域处理
@EnableFlyway       //加入Flyway数据库
@EnableSwagger      //加入Swagger文档
@EnableException    //加入全局异常处理
@SpringBootApplication
public class ZkApplication {

    public static void main(String[] args) {

        SpringApplication.run(ZkApplication.class,args);
        log.info("*************************************************");
        log.info("*                                               *");
        log.info("*                  ZkApp Success                *");
        log.info("*                                               *");
        log.info("*************************************************");

    }

}
